package mf.com.mapper.product;

import mf.com.entity.product.ProductSpec;
import mf.com.vo.common.Result;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: lmf
 * @Create: 2024/4/9 22:03
 * Description:  产品规格映射层
 */
@Mapper
public interface SpecMapper {
    List<ProductSpec> findAll();

    Integer save(ProductSpec productSpec);

    Integer update(ProductSpec productSpec);

    Integer deleteById(Integer id);

    ProductSpec findById(Integer id);

    List<ProductSpec> findByPage(ProductSpec productSpec);
}
